package com.xuetang9.t9.xinhuaxia.beans;

import java.util.Date;
import javax.persistence.*;

@Table(name = "goods_salelist")
public class GoodsSalelist {
    /**
     * 自增id
     */
    @Id
    @Column(name = "gs_id")
    private Long gsId;

    /**
     * 商品id
     */
    @Column(name = "gs_goodsId")
    private Long gsGoodsid;

    /**
     * 销售数量
     */
    @Column(name = "gs_saleCount")
    private Integer gsSalecount;

    /**
     * 销售状态(0销售1退换)
     */
    @Column(name = "gs_status")
    private Integer gsStatus;

    /**
     * 时间
     */
    @Column(name = "gs_saleTime")
    private Date gsSaletime;

    /**
     * 获取自增id
     *
     * @return gs_id - 自增id
     */
    public Long getGsId() {
        return gsId;
    }

    /**
     * 设置自增id
     *
     * @param gsId 自增id
     */
    public void setGsId(Long gsId) {
        this.gsId = gsId;
    }

    /**
     * 获取商品id
     *
     * @return gs_goodsId - 商品id
     */
    public Long getGsGoodsid() {
        return gsGoodsid;
    }

    /**
     * 设置商品id
     *
     * @param gsGoodsid 商品id
     */
    public void setGsGoodsid(Long gsGoodsid) {
        this.gsGoodsid = gsGoodsid;
    }

    /**
     * 获取销售数量
     *
     * @return gs_saleCount - 销售数量
     */
    public Integer getGsSalecount() {
        return gsSalecount;
    }

    /**
     * 设置销售数量
     *
     * @param gsSalecount 销售数量
     */
    public void setGsSalecount(Integer gsSalecount) {
        this.gsSalecount = gsSalecount;
    }

    /**
     * 获取销售状态(0销售1退换)
     *
     * @return gs_status - 销售状态(0销售1退换)
     */
    public Integer getGsStatus() {
        return gsStatus;
    }

    /**
     * 设置销售状态(0销售1退换)
     *
     * @param gsStatus 销售状态(0销售1退换)
     */
    public void setGsStatus(Integer gsStatus) {
        this.gsStatus = gsStatus;
    }

    /**
     * 获取时间
     *
     * @return gs_saleTime - 时间
     */
    public Date getGsSaletime() {
        return gsSaletime;
    }

    /**
     * 设置时间
     *
     * @param gsSaletime 时间
     */
    public void setGsSaletime(Date gsSaletime) {
        this.gsSaletime = gsSaletime;
    }
}